﻿using System;
using System.Windows;
using Csla.Xaml;
using Accounting.Library;

namespace csla4Skeleton.UI.SL.NghiepVu.Kho.K_ListXuatKho
{
    public partial class K_ListXuatKho_ListViewModel : ViewModel<Accounting.Library.K_ListXuatKho>
    {

        public K_ListXuatKho_ListViewModel(DateTime date)
        {
            BeginRefresh("GetK_ListXuatKho", date.Day + ";" + date.Month +";" + date.Year);

        }

     
        public void GetK_ListXuatKho_ListViewModel(string mode)
        {
            BeginRefresh("GetK_ListXuatKho", mode);
        }

        public static readonly DependencyProperty SelectedItemProperty =
          DependencyProperty.Register("SelectedItem", typeof(K_ListXuatKhoInfo), typeof(K_ListXuatKho_ListViewModel), null);
        public K_ListXuatKhoInfo SelectedItem
        {
            get { return (K_ListXuatKhoInfo)GetValue(SelectedItemProperty); }
            set { SetValue(SelectedItemProperty, value); }
        }

       
    }
}
